import request from '../../utils/request'

export function useMenuApi() {
	
	return {
		getMenuAdmin: () => {
			return request.get('admin/menus')
		},
		getRoles:()=>{
			return request.get(`admin/roles`)
		}
	};
}

